package common.properties {
public class GeneralPropertyAccessor implements PropertyAccessor {
    private var _propertyName:String;

    public function GeneralPropertyAccessor(propertyName:String) {
        _propertyName = propertyName;
    }

    public function getValue(obj:HasProperties):Object {
        return obj[_propertyName];
    }

    public function setValue(obj:HasProperties, value:Object):void {
        obj[_propertyName] = value;
    }
}
}